package ui;

public class KeyBinding {
	
	/** The key, as found in the .conf file */
	private String key;
	/** The value, as found in the .conf file */
	private String value;
	
	public KeyBinding() {
		this("", "");
	}
	
	public KeyBinding(String key, String value) {
		this.key = key;
		this.value = value;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	/**
	 * Return the value of the key binding displayable in a textifeld for instance.
	 * 
	 * @return the key value
	 */
	public String toString() {
		return value;
	}
}
